<%@ page language="java" 
	import="java.util.*,com.dish.dao.*,com.dish.bean.*,javax.servlet.http.HttpSession"
	contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>菜品展示</title>
<script src="newnewjs/jquery-1.8.2.min.js"></script>
<script src="newjs/common.js"></script>
<script src="newjs/jquery.easing.1.3.js"></script>
<script src="newjs/ddsmoothmenu.js"></script>
<script src="newjs/jquery.flexslider.js"></script>
<script src="newjs/jquery.elastislide.js"></script>
<script src="newjs/jquery.jcarousel.min.js"></script>
<script src="newjs/jquery.accordion.js"></script>
<script src="newjs/light_box.js"></script>
<script type="text/javascript">$(document).ready(function(){$(".inline").colorbox({inline:true, width:"50%"});});</script>
<!--end js-->

<!-- Mobile Specific Metas ================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

<!-- CSS ================================================== -->

<link rel="stylesheet" href="newcss/style.css">
<link rel="stylesheet" href="newcss/orange.css">
<link rel="stylesheet" href="newcss/skeleton.css">
<link rel="stylesheet" href="newcss/layout.css">
<link rel="stylesheet" href="newcss/ddsmoothmenu.css"/>
<link rel="stylesheet" href="newcss/elastislide.css"/>
<link rel="stylesheet" href="newcss/home_flexslider.css"/>

<link rel="stylesheet" href="newcss/light_box.css"/>
<script src="newjs/html5.js"></script>

<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<!--[if lt IE 9]>
			<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
		<![endif]-->

</head>
<body>
<div class="mainContainer sixteen container">
<!--Header Block-->
<div class="header-wrapper">
              <header class="container">
                <div class="head-right">
                  <section class="header-bottom">
                    <div class="cart-block">
					<ul>
						 <li>( ${ sessionScope.totalNum} )</li> 
						<li><a href="ShowCart" title="Cart"><img title="Item" alt="Item" src="images/item_icon.png" /></a></li>
						<li>购物车</li>
					</ul>
					
                  </section>
                </div>
                <h1 class="logo"><a href="#" title="Logo">
                  <img title="Logo" alt="Logo" src="images/kendeya.jpg" />
                  </a></h1>
                <nav id="smoothmenu1" class="ddsmoothmenu mainMenu">
                  <ul id="nav">
                    <li class="active"><a href="#" title="Shop by">菜品浏览</a></li>
                    <li class=""><a href="ShowCart" title="About us">显示购物车</a></li>
                    <li class=""><a href="https://gitee.com/cugblx/JAVAEE" title="Faq">使用帮助</a></li>
                    <li class=""><a href="feedback.jsp" title="About us">意见反馈</a></li>
                    <li class=""><a href="index.jsp" title="Pages">退出登录</a></li>
                  </ul>
                </nav>
                
          
                
              </header>
            </div>	
<!--Content Block-->
<section class="content-wrapper">
	<div class="content-container container">
		<div class="col-left">
			<div class="block man-block">
				<div class="block-title">联系客服</div>
				<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=427762389&site=qq&menu=yes">
				<img border="0" src="https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=74408537,207617915&fm=200&gp=0.jpg" alt="联系肯德鸭客服" title="联系肯德鸭客服"/></a>
				

			</div>
			<div class="block man-block">
				<div class="block-title">网站声明</div>
				<ul>
					<li>本在线订餐网站仅为大学生程序设计课程的课程作业，并不用于商业用途，菜品信息均来自麦当劳官网。在购买菜品后进入支付宝的付款界面后，请勿进行付款，即使付款也不会有任何菜品运送过去。</li>
				</ul>
			</div>

				<img src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1528803664416&di=92f82110ce0919468248f316981621dd&imgtype=0&src=http%3A%2F%2Fnews.taoming.com%2Fuploads%2Fallimg%2F140920%2F3_140920160621_1.jpg"></div>
		<div class="col-main">
			<div class="category-banner"><img src="images/mainpic.jpg" title="Banner" alt="Banner" /></div>
			<div class="pager-container">

				
			</div>
			<div class="new-product-block">
			<c:forEach var="currentdish" items="${sessionScope.dishlist}" varStatus="status" >		
				<c:if test="${status.index%3==0}">
				<ul class="product-grid">
				</c:if>
					<li>
						<div class="pro-img"><img title="${currentdish.dishname}" alt="${currentdish.dishname}" src="${currentdish.img}" height="250" width="250" /></div>
						<div class="pro-content"><p>${currentdish.dishname}</p></div>
						<div class="pro-price">${currentdish.price}元</div>
						<div class="pro-btn-block">
							<a class="add-cart left" href="addtocart?dishid=${currentdish.dishid}" title="Add to Cart">加入购物车</a>				
							<a class="add-cart right quickCart inline" href="ShowQuickView?dishid=${currentdish.dishid}" title="Quick View">菜品详情</a>					</div>
						<div class="pro-link-block">
							<div class="clearfix"></div>
						</div>
					</li>
				<c:if test="${status.index!=0 && (status.index+1)%3==0 }">
				</ul>
				</c:if>
			</c:forEach>

			</div>
			<div class="pager-container">
				<div class="pager">
					<div class="show-items">
						<font color="#000000">&nbsp;共&nbsp${param.totalpages}&nbsp页</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<font color="#000000">当前第</font>&nbsp
						<font color="#000000">${param.pageNO}</font>&nbsp
						<font color="#000000">页</font>
					</div>
					<div class="show-per-page">
						<a name="btnTopPage"  id="btnTopPage" href="loginControl?actiontype=pagelist&pageNO=1" title="首页">|&lt;&lt; </a>&nbsp;
						<a name="btnPreviousPage"  id="btnPreviousPage" href="loginControl?actiontype=pagelist&pageNO=${requestScope.pageModel.prevPageNO}" title="上页"> &lt;  </a>&nbsp;
						<a name="btnNextPage"  id="btnNextPage" href="loginControl?actiontype=pagelist&pageNO=${requestScope.pageModel.nextPageNO}" title="下页">  &gt; </a>&nbsp;
						<a name="btnBottomPage"  id="btnBottomPage" href="loginControl?actiontype=pagelist&pageNO=${requestScope.pageModel.bottomPageNO}" title="尾页"> &gt;&gt;|</a>
					</div>
				</div>
			</div>
		</div>
		<div class="clearfix"></div>
		<div class="news-letter-container">
			<div class="free-shipping-block">
				<h1>免费送餐</h1>
				<p>肯德鸭宅急送</p>
			</div>
		</div>	
	</div>
</section>
</div>
    <!--Quick view Block-->
<script type="text/javascript">
jQuery (function(){
	var tabContainers=jQuery('div.tabs > div');
	tabContainers.hide().filter(':first').show();
	jQuery('div.tabs ul.tabNavigation a').click(function(){
		tabContainers.hide();
		tabContainers.filter(this.hash).show();
		jQuery('div.tabs ul.tabNavigation a').removeClass('selected');
		jQuery(this).addClass('selected');
		return false;
		}).filter(':first').click();
	});
</script>

<!--Footer Block-->
<section class="footer-wrapper">
              <footer class="container">
                <div class="footer-bottom-block">
                  <p class="copyright-block">Copyright &copy; 2018.CUGB all rights reserved.</p>
                </div>
              </footer>
            </section>
<div style="display:none"><script src='http://v7.cnzz.com/stat.php?id=155540&web_id=155540' language='JavaScript' charset='gb2312'></script></div>
</body>
</html>